//==============================================================================
// boar_anim.txt
// Fixed the heroglow and added the sunlight and ground glow defines ~WarriorMario
//==============================================================================

//==============================================================================
define SunLight
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A God Power Summon Sunlight
      }
   }
}


//==============================================================================
define GroundGlow
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A God Power Summon GroundGlow
      }
   }
}

define heroglow
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Glow Small
      }
   }
}

//==============================================================================
define soul
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul
      }
   }
}

//==============================================================================
define soulaurora
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul Aurora
      }
   }
}

//==============================================================================
define heavenlight
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul Heaven Light
      }
   }
}

//==============================================================================
define soulbirth
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Hero Soul Birth
      }
   }
}

//==============================================================================
anim Bored
{
   SetSelector
   {
		containlogic
      set hotspot
      {
         version
         {
            Visual Animal boar_boredA
				connect frontchest heroglow hotspot
         }
      }
      set hotspot
      {
         version
         {
            Visual Animal boar_carrybored
				connect frontchest heroglow hotspot
         }
      }
   }
}

//==============================================================================
anim Death
{
   SetSelector
   {
      set hotspot
      {
         version
         {
            Visual Animal boar_deathA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag SpecificSoundSet 0.00 false AHeroHasFallen  checkOwner
		Connect FRONTABDOMEN heroglow hotspot
		connect ATTACHPOINT soul hotspot
		connect ATTACHPOINT soulaurora hotspot
		connect ATTACHPOINT heavenlight hotspot
		connect ATTACHPOINT soulbirth hotspot
//-- end auto generated section
         }
      }
   }
}

//==============================================================================
anim Recover
{
	SetSelector none 
	{
		set hotspot
		{
			version
			{
					Visual Animal boar_idleA
					Connect FRONTABDOMEN heroglow hotspot
				connect hotspot sunlight hotspot
				connect hotspot groundglow hotspot
			}
		}
	}
}

//==============================================================================
anim Idle
{
   SetSelector
   {
		containLogic
      set hotspot
      {
         version
         {
            Visual Animal boar_idleA
				connect frontchest heroglow hotspot
         }
      }
      set hotspot
      {
         version
         {
            Visual Animal boar_carryidle
				connect frontchest heroglow hotspot
         }
      }
   }
}

//==============================================================================
anim Walk
{
   SetSelector
   {
		containLogic
      set hotspot
      {
         version
         {
            Visual Animal boar_walkA
				connect frontchest heroglow hotspot
         }
      }
      set hotspot
      {
         version
         {
            Visual Animal boar_carry
				connect frontchest heroglow hotspot
         }
      }
   }
}

//==============================================================================
anim Run
{
   SetSelector
   {
      set hotspot
      {
         version
         {
            Visual Animal boar_walkA
				connect frontchest heroglow hotspot
         }
      }
   }
}

//==============================================================================
anim Attack
{
   SetSelector
   {
      set hotspot
      {
         version
         {
            Visual Animal boar_attackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.44 true   
                  tag GenericSound 0.01 true   
//-- end auto generated section
				connect frontchest heroglow hotspot
         }
      }
   }
}
